package com.kma.ncpractice2013.model;

import java.util.*;

public class Order
{
    private int id;
    private int userId;
    private int locationId;
    private double price;
    private int rooms;
    private int adults;
    private int children;
    private int nights;
    private int hotelStars;
    private Date orderDate;
    private String checkInDate;
    private String checkOutDate;
	private String confirmationToken;
	private int confirmed;

    public Order ()
    {
        
    }

    public Order(int id, int userId, int locationId, double price,
                 short rooms, short adults, short children, short nights, short hotelStars,
                 Date orderDate, String checkInDate, String checkOutDate)
    {
        this.id = id;
        this.userId = userId;
        this.locationId = locationId;
        this.price = price;
        this.rooms = rooms;
        this.adults = adults;
        this.children = children;
        this.nights = nights;
        this.hotelStars = hotelStars;
        this.orderDate = orderDate;
        this.checkInDate = checkInDate;
        this.checkOutDate = checkOutDate;
    }

    public void setHotelStars(int hotelStars) {
        this.hotelStars = hotelStars;
    }

    public int getHotelStars() {
        return hotelStars;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getLocationId() {
        return locationId;
    }

    public void setLocationId(int locationId) {
        this.locationId = locationId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getRooms() {
        return rooms;
    }

    public void setRooms(int rooms) {
        this.rooms = rooms;
    }

    public int getAdults() {
        return adults;
    }

    public void setAdults(int adults) {
        this.adults = adults;
    }

    public int getChildren() {
        return children;
    }

    public void setChildren(int children) {
        this.children = children;
    }

    public int getNights() {
        return nights;
    }

    public void setNights(int nights) {
        this.nights = nights;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public String getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(String checkInDate) {
        this.checkInDate = checkInDate;
    }

    public String getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(String checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

	public String getConfirmationToken()
	{
		return confirmationToken;
	}

	public void setConfirmationToken(String confirmationToken)
	{
		this.confirmationToken = confirmationToken;
	}

	public int getConfirmed()
	{
		return confirmed;
	}

	public void setConfirmed(int confirmed)
	{
		this.confirmed = confirmed;
	}
}
